package com.yuyou.fn.tradingservice.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;
import com.yuyou.fn.common.condition.annotation.FullLike;

/**
 *
 * 服务商品
 *
 */
@TableName(value = "service_product")
public class ServiceProduct implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ServiceProduct> createExample(){
		return new Example<ServiceProduct>(ServiceProduct.class);
	}

	/**  */
	@TableId(value = "product_id")
	private Long productId;

	/**  */
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	/** 业务组织名称 */
	@TableField(value = "bus_team_name")
	private String busTeamName;

	/**  */
	@TableField(value = "category_id")
	private Long categoryId;

	/** 类别名称 */
	@TableField(value = "category_name")
	private String categoryName;

	/** 服务内容 */
	private String content;

	/** 数量 */
	private Integer amount;

	/** 金额 */
	private BigDecimal price;

	/** 状态 0:未发布 1:发布 */
	private Integer status;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "user_id")
	private Long userId;

	@TableField(value = "user_name")
	private String username;

	@TableField(value = "product_name")
	@FullLike
	private String productName;

	/** 商品单位 */
	private String unit;

	/**分类类型 0:商品 1：服务 2：租赁 3：需求*/
	private Integer type;

	/**课室地址*/
	private String address;

	/**课室房间id*/
	@TableField(value = "room_id")
	private Long roomId;

	@TableField(value = "campus_id")
	private Long campusId;

	@TableField(value = "campus_name")
	private String campusName;

	private String province;

	private String city;

	private String district;

	/**是否多媒体 0不是，1是*/
	@TableField(value = "is_multimedia")
	private String isMultimedia;

	/**图片链接**/
	@TableField(value = "image_url")
	private String imageUrl;

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getBusTeamId() {
		return this.busTeamId;
	}

	public void setBusTeamId(Long busTeamId) {
		this.busTeamId = busTeamId;
	}

	public String getBusTeamName() {
		return this.busTeamName;
	}

	public void setBusTeamName(String busTeamName) {
		this.busTeamName = busTeamName;
	}

	public Long getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return this.categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getRoomId() {
		return roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public Long getCampusId() {
		return campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getIsMultimedia() {
		return isMultimedia;
	}

	public void setIsMultimedia(String isMultimedia) {
		this.isMultimedia = isMultimedia;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
}
